package com.bytecub.simulate.device.common.constants;

import lombok.Data;

/**
 *  * ByteCub.cn.
 *  * Copyright (c) 2020-2021 All Rights Reserved.
 *  * 
 *  * @author bytecub@163.com songbin
 *  * @version Id: SimulateStorage.java, v 0.1 2021-01-07  Exp $$
 *  
 */

public class SimulateStorage {
    private static String mqttServerUrl;
    private static int timeout;
    private static int keepalive;

    public static void setMqttServerUrl(String url) {
        SimulateStorage.mqttServerUrl = url;
    }

    public static String getMqttServerUrl() {
        return SimulateStorage.mqttServerUrl;
    }

    public static int getTimeout() {
        return timeout;
    }

    public static void setTimeout(int timeout) {
        SimulateStorage.timeout = timeout;
    }

    public static int getKeepalive() {
        return keepalive;
    }

    public static void setKeepalive(int keepalive) {
        SimulateStorage.keepalive = keepalive;
    }
}
